{% extends "layout.html" %}

{% block content %}
<div class="pb-2 mt-2 mb-4 border-bottom">
  <h3>Create Success</h3>
</div>
<div class="pb-2 mt-2 mb-4 ">
title:{{thing.title}} <br/>
body:{{thing.body}} <br/>
url:{{thing.url}} <br/>
</div>
<a class="col-md-3 btn btn-primary" href="/thing/update/{{thing._id}}"><i class="far fa-wine-glass-alt fa-sm"></i> | 修改body和url </a>
<a class="col-md-3 btn btn-primary" href="/thing/delete/{{thing._id}}" onclick="return confirm('Are you sure to delete?')"><i class="far fa-wine-glass-alt fa-sm"></i> | 删除 </a>

<a class="col-md-3 btn btn-primary" href="/things"><i class="far fa-wine-glass-alt fa-sm"></i> | 查看全部 </a>

{% endblock %}
